<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<h2><s:text name="checklistItem.header"></s:text></h2>

<table class="green">
	<tr>
		<th width="25%"><s:text name="checklistItem.name"></s:text></th>
		<td><s:property  value="checklistItem.name"/></td>
	</tr>
	<tr>
		<th><s:text name="checklistItem.beschreibung"></s:text></th>
		<td><s:property  value="checklistItem.beschreibung"/></td>
	</tr>
	<tr>
		<th><s:text name="checklist.creator"></s:text></th>
		<td><s:property  value="checklistItem.ersteller.email"/></td>
	</tr>
	<tr>
		<th><s:text name="checklist.status"></s:text></th>
		<td>
			<s:if test="checklistItem.erfueller == null">
				<img src="image/icons/0006_cross.png" width="24" height="24" border="0" />
			</s:if>
			<s:else>
				<s:text name="checklistItem.fulfilledText"></s:text> <s:date name="checklistItem.erfuelltAm"></s:date>
			</s:else>
		</td>
	</tr>
</table>

<s:url var="backToList" action="showChecklist" namespace="/">
	<s:param name="eventId"><s:property value="checklistItem.event.eventId"></s:property></s:param>
</s:url>
<s:a href="%{backToList}"><s:text name="checklistItem.backToList"></s:text></s:a>